package com.fdq.bigevent.service;

import com.fdq.bigevent.pojo.Article;
import com.fdq.bigevent.pojo.PageBean;
import com.fdq.bigevent.pojo.Result;

public interface ArticleService {
    Result addArticle(Article article);

    Result<PageBean> getArticle(int pageNum, int pageSize, int categoryId, String state);

    Result<Article> getArticleById(Integer id);

    Result updateArticle(Article article);

    Result deleteArticle(Integer id);
}
